<template>
  <div>
      分类页面
      <ul>
      <li @click="hisGo(index)" v-for="(item,index) in arrList" :key="index">{{item}}</li>
      </ul>
  </div>
</template>

<script>
export default {
  data(){
    return{
      arrList:[
        '小日常','甜蜜日记','博客维护'
      ]
    }
  },
  methods:{
    hisGo(i){
      console.log(123);
      this.$router.push(`/main/classify/${i}`)
    }
  }
}
</script>

<style>

</style>